<script type="text/javascript">
    set_reservations(<%=@reservations.to_json%>)
</script>